package calorie.com.calorie.response;

import java.util.List;

/**
 * Created by chenxi on 2019/4/11.
 */

public class GoodsOrderResponce {

    /**
     * code : 200
     * msg : success
     * data : {"count":3,"orderList":[{"id":"1554704829698144870","amount":100,"createTime":1554704830000,"goodsCount":2,"goodsId":"1","modifyTime":1554704830000,"payTime":1554704830000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"},{"id":"1554696303025144852","amount":100,"createTime":1554696303000,"goodsCount":2,"goodsId":"1","modifyTime":1554696303000,"payTime":1554696303000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"},{"id":"1554696293763144895","amount":100,"createTime":1554696294000,"goodsCount":2000,"goodsId":"1","modifyTime":1554696294000,"payTime":1554696294000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * count : 3
         * orderList : [{"id":"1554704829698144870","amount":100,"createTime":1554704830000,"goodsCount":2,"goodsId":"1","modifyTime":1554704830000,"payTime":1554704830000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"},{"id":"1554696303025144852","amount":100,"createTime":1554696303000,"goodsCount":2,"goodsId":"1","modifyTime":1554696303000,"payTime":1554696303000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"},{"id":"1554696293763144895","amount":100,"createTime":1554696294000,"goodsCount":2000,"goodsId":"1","modifyTime":1554696294000,"payTime":1554696294000,"receivingAddress":"吉林省长春市朝阳区金融家苑2栋4单元201室","status":1,"userId":1448,"title":"好看的手表","imgUrl":"5d6034a85edf8db13a4eeac30323dd54564e7431.jpg"}]
         */

        private int count;
        private List<OrderListBean> orderList;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<OrderListBean> getOrderList() {
            return orderList;
        }

        public void setOrderList(List<OrderListBean> orderList) {
            this.orderList = orderList;
        }

        public static class OrderListBean {
            /**
             * id : 1554704829698144870
             * amount : 100
             * createTime : 1554704830000
             * goodsCount : 2
             * goodsId : 1
             * modifyTime : 1554704830000
             * payTime : 1554704830000
             * receivingAddress : 吉林省长春市朝阳区金融家苑2栋4单元201室
             * status : 1
             * userId : 1448
             * title : 好看的手表
             * imgUrl : 5d6034a85edf8db13a4eeac30323dd54564e7431.jpg
             */

            private String id;
            private int amount;
            private long createTime;
            private int goodsCount;
            private String goodsId;
            private long modifyTime;
            private long payTime;
            private String receivingAddress;
            private String receivingName;
            private String receivingPhone;
            private int status;
            private int userId;
            private String title;
            private String imgUrl;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getGoodsCount() {
                return goodsCount;
            }

            public void setGoodsCount(int goodsCount) {
                this.goodsCount = goodsCount;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public long getPayTime() {
                return payTime;
            }

            public void setPayTime(long payTime) {
                this.payTime = payTime;
            }

            public String getReceivingAddress() {
                return receivingAddress;
            }

            public void setReceivingAddress(String receivingAddress) {
                this.receivingAddress = receivingAddress;
            }
            public String getReceivingName() {
                return receivingName;
            }

            public void setReceivingName(String receivingName) {
                this.receivingName = receivingName;
            }

            public String getReceivingPhone() {
                return receivingPhone;
            }

            public void setReceivingPhone(String receivingPhone) {
                this.receivingPhone = receivingPhone;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }
        }
    }
}
